﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using WebApp.BLL.Manage;

namespace WebApp.Web.Core
{
    public class CSMSLang
    {
        /// <summary>
        /// zh_hk/zh_cn
        /// </summary>
        /// <param name="key"></param>
        /// <returns></returns>
        public static string Get(string key)
        {
            //string lang = "zh_hk";
            string lang = SessionManage.Language;
            return new S_lang_resService().GetValue(key, lang);
        }
        public static string Get(string key, string lang)
        {
            return new S_lang_resService().GetValue(key, lang);
        }
        
    }
}
